package com.hotelvip.enumEntity;

import com.hotelvip.common.utils.enumconfig.BaseEnum;
import lombok.Getter;

/**
 * @author Lzh
 * @date 2020/12/11 11:55
 */
@Getter
public enum GenderEnum implements BaseEnum {
    one("男", 1),
    two("女", 0),
    three("其他", 2);
    // 成员变量
    private String name;
    private Integer index;

    // 构造方法
    GenderEnum(String name, int index) {
        this.name = name;
        this.index = index;
    }

}
